package uk.ac.ebi.bioinvindex.services;

import java.util.Collection;

/**
 * User: Nataliya Sklyar (nsklyar@ebi.ac.uk)
 * Date: Nov 13, 2007
 */
public interface IStudyBeanProvider {

	public Collection<StudyBean> getItemsByRange(int firstRow, int numberOfRows);

	public int getRowCount();

	public StudyBean getStudyBeanById(Long id);

	public boolean hasStudyBeanById(Long id);

	/////////
	/// Bean gettes/setters
	/////
	public String getSearchPattern();

	public void setSearchPattern(String searchPattern);

	public String getAssayTypeFilterName();

	public void setAssayTypeFilterName(String assayTypeFilterName);

	public String getOrganism();

	public void setOrganism(String organism);
}
